package top.ffhome.concurrent.beautiful.ch01;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;

public class ThreadTest {
    private static final Log log = LogFactory.get();

    public static class MyThread extends Thread {
        @Override
        public void run() {
            log.info("I am a child thread: {}", this.getName());
        }
    }

    public static void main(String[] args) {
        MyThread thread = new MyThread();
        thread.start();
    }
}
